package com.clas.liu.myapplication.model.event;

import com.clas.liu.myapplication.model.entity.BaseRoot;
import com.clas.liu.myapplication.model.entity.Register.RegisterRoot;
import com.clas.liu.myapplication.model.entity.user.UserRoot;

/**
 * Created by liu on 2019/4/27.
 */

public class RegisterEvent extends BaseEvent {

    public static final int REGISTER_OK = 200;     //注册的返回码
    public static final int REGISTER_FAIL = -200;  //注册请求失败的错误码
    public static final int EDIT_USER_OK = 2300;     //修改信息的返回码
    public static final int EDIT_USER_FAIL = -2300;  //修改信息请求失败的错误码

    private RegisterRoot registerRoot;
    private UserRoot userRoot;

    public UserRoot getUserRoot() {
        return userRoot;
    }

    public void setUserRoot(UserRoot userRoot) {
        this.userRoot = userRoot;
    }

    public RegisterRoot getRegisterRoot() {
        return registerRoot;
    }

    public void setRegisterRoot(RegisterRoot registerRoot) {

        this.registerRoot = registerRoot;
    }

}
